public class Negation {
    public static void main(String[] args) {
        double num1 = 1000;
        double num2 = 1001;

        num1 += Integer.MIN_VALUE;
        num2 += Integer.MIN_VALUE;

        System.out.println((int)num1 - Integer.MIN_VALUE);
        System.out.println((int)num2);
        System.out.println((int)num1 < (int)num2);
    }
}
